import request from '@/utils/request'

const mudulePath = 'match/score/'
export function saveMatchScore(data) {
  return request({
    url: mudulePath + 'save',
    method: 'post',
    data
  })
}

export function getMatchScore(data) {
  return request({
    url: mudulePath + 'info',
    method: 'get',
    params: data
  })
}

export function delectScore(data) {
  return request({
    url: mudulePath + 'delete',
    method: 'post',
    data
  })
}

export function updateSocre(data) {
  return request({
    url: mudulePath + 'updateSocre',
    method: 'post',
    params: data
  })
}

export function deleteById(data) {
  return request({
    url: mudulePath + 'deleteById',
    method: 'post',
    params: data
  })
}

export function avgScore(data) {
  return request({
    url: mudulePath + 'avgScore',
    method: 'post',
    params: data
  })
}

export function next(data) {
  return request({
    url: mudulePath + 'next',
    method: 'post',
    params: data
  })
}

export function prev(data) {
  return request({
    url: mudulePath + 'prev',
    method: 'post',
    params: data
  })
}

export function logicScore(data) {
  return request({
    url: mudulePath + 'logicScore',
    method: 'post',
    params: data
  })
}
export function getLogicScore(data) {
  return request({
    url: mudulePath + 'getLogicScore',
    method: 'post',
    params: data
  })
}
export function totlaLogicScore(data) {
  return request({
    url: mudulePath + 'totlaLogicScore',
    method: 'post',
    params: data
  })
}
export function showLogicSocre(data) {
  return request({
    url: mudulePath + 'showLogicSocre',
    method: 'post',
    params: data
  })
}
export function totlaShowLogicScore(data) {
  return request({
    url: mudulePath + 'totlaShowLogicScore',
    method: 'post',
    params: data
  })
}
export function saveSocre(data) {
  return request({
    url: mudulePath + 'saveSocre',
    method: 'post',
    params: data
  })
}
export function matchRefereeScore(data) {
  return request({
    url: mudulePath + 'matchRefereeScore',
    method: 'post',
    params: data
  })
}
export function orderTotalScore(data) {
  return request({
    url: mudulePath + 'orderTotalScore',
    method: 'post',
    params: data
  })
}
